#ifndef __SP_SESSIONLIST_H_INCLUDED__
#define __SP_SESSIONLIST_H_INCLUDED__

#include "mutex.h"
#include <list>

class Session;

class SessionList : public std::list<Session*>
{
	public:
		void lock() {m.lock();}
		void unlock() {m.unlock();}
	private:
		mutex m;

};

#endif
